//
//  BaseCustomNavView.h
//  v8090Video
//
//  Created by 陈建 on 2018/8/10.
//  Copyright © 2018年 BlueWind. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BaseCustomNavViewDelegate <NSObject>

@optional
//点击导航栏右侧按钮
- (void)tapCustomNavRightBtnClick;

//点击导航栏左侧按钮
- (void)tapCustomNavLeftBtnClick;

@end

@interface BaseCustomNavView : UIView

@property (nonatomic,weak)id <BaseCustomNavViewDelegate> delegate;

/**
 是否隐藏返回按钮 （默认不隐藏）
 */
@property (nonatomic, assign) BOOL isHiddenLeftBtn;

/**
 是否隐藏底部线 （默认不隐藏）
 */
@property (nonatomic, assign) BOOL isHiddenLineView;

/**
 背景View
 */
@property (nonatomic, strong) UIImageView *backimageView;

/**
 背景View的颜色(根据颜色转换成图片)
 */
@property (nonatomic, strong) UIColor *backImageViewColor;

/**
 标题
 */
@property (nonatomic, strong) NSString *title;

/**
 标题
 */
@property (nonatomic, strong) UILabel *titleLable;

/**
 右侧标题
 */
@property (nonatomic, strong) NSString *rightBtnTitle;


@property (nonatomic, strong) UIButton *rightBtn;

- (void)setupBackImageViewAlffectWithAlpha:(CGFloat)alpha;

@end
